

<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
  <meta charset="utf-8">
  
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  
  <title>API参考 &mdash; OSDA Project 3.5.0 documentation</title>
  

  
  
    <link rel="shortcut icon" href="_static/favicon.ico"/>
  
  
  

  

  
  
    

  

  
    <link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
  <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" />
    <link rel="prev" title="设计" href="guides.html" /> 

  
  <script src="_static/js/modernizr.min.js"></script>

</head>

<body class="wy-body-for-nav">

   
  <div class="wy-grid-for-nav">

    
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search">
          

          
            <a href="index.html"> OSDA Project
          

          
          </a>

          
            
            
              <div class="version">
                3.5.0
              </div>
            
          

          
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="search.html" method="get">
    <input type="text" name="q" placeholder="搜索" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>

          
        </div>

        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
          
            
            
              
            
            
              <ul class="current">
<li class="toctree-l1"><a class="reference internal" href="getting_started.html">入门</a></li>
<li class="toctree-l1"><a class="reference internal" href="license.html">许可</a></li>
<li class="toctree-l1"><a class="reference internal" href="contribute.html">贡献</a></li>
<li class="toctree-l1"><a class="reference internal" href="guides.html">设计</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">API参考</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#itextboxappend">ITextBoxAppend</a></li>
<li class="toctree-l2"><a class="reference internal" href="#inotifypropertychanged">INotifyPropertyChanged</a></li>
</ul>
</li>
</ul>

            
          
        </div>
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">

      
      <nav class="wy-nav-top" aria-label="top navigation">
        
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="index.html">OSDA Project</a>
        
      </nav>


      <div class="wy-nav-content">
        
        <div class="rst-content">
        
          















<div role="navigation" aria-label="breadcrumbs navigation">

  <ul class="wy-breadcrumbs">
    
      <li><a href="index.html">OSDA Project</a> &raquo;</li>
        
      <li>API参考</li>
    
    
      <li class="wy-breadcrumbs-aside">
        
            
        
      </li>
    
  </ul>

  
  <hr/>
</div>
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
            
  <div class="section" id="api">
<h1>API参考<a class="headerlink" href="#api" title="Permalink to this headline">¶</a></h1>
<div class="section" id="itextboxappend">
<h2>ITextBoxAppend<a class="headerlink" href="#itextboxappend" title="Permalink to this headline">¶</a></h2>
<dl class="attribute">
<dt>
<code class="sig-name descname">void Delete()</code></dt>
<dd><p>移除所有字符</p>
</dd></dl>

<dl class="attribute">
<dt>
<code class="sig-name descname">void Delete(int startIndex, int length)</code></dt>
<dd><p>从 startIndex 开始移除 length 个字符</p>
</dd></dl>

<dl class="attribute">
<dt>
<code class="sig-name descname">void Append(string value)</code></dt>
<dd><p>追加字符串 value</p>
</dd></dl>

<dl class="attribute">
<dt>
<code class="sig-name descname">void Append(string value, int index)</code></dt>
<dd><p>将字符串 value 插入到 index 位置</p>
</dd></dl>

<dl class="attribute">
<dt>
<code class="sig-name descname">string GetCurrentValue()</code></dt>
<dd><p>获取当前值</p>
</dd></dl>

</div>
<div class="section" id="inotifypropertychanged">
<h2>INotifyPropertyChanged<a class="headerlink" href="#inotifypropertychanged" title="Permalink to this headline">¶</a></h2>
<dl class="attribute">
<dt>
<code class="sig-name descname">public void RaisePropertyChanged([CallerMemberName] string propertyName = &quot;&quot;)</code></dt>
<dd><p>提示属性已经更改</p>
</dd></dl>

<div class="highlight-C# notranslate"><div class="highlight"><pre><span></span><span class="k">public</span> <span class="n">ITextBoxAppend</span> <span class="n">_RecvData</span><span class="p">;</span>
<span class="k">public</span> <span class="n">ITextBoxAppend</span> <span class="n">RecvData</span>
<span class="p">{</span>
    <span class="k">get</span>
    <span class="p">{</span>
        <span class="k">return</span> <span class="n">_RecvData</span><span class="p">;</span>
    <span class="p">}</span>
    <span class="k">set</span>
    <span class="p">{</span>
        <span class="k">if</span> <span class="p">(</span><span class="n">_RecvData</span> <span class="p">!=</span> <span class="k">value</span><span class="p">)</span>
        <span class="p">{</span>
            <span class="n">_RecvData</span> <span class="p">=</span> <span class="k">value</span><span class="p">;</span>
            <span class="n">RaisePropertyChanged</span><span class="p">(</span><span class="n">nameof</span><span class="p">(</span><span class="n">RecvData</span><span class="p">));</span>
        <span class="p">}</span>
    <span class="p">}</span>
<span class="p">}</span>
</pre></div>
</div>
</div>
</div>


           </div>
           
          </div>
          <footer>
  
    <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
      
      
        <a href="guides.html" class="btn btn-neutral" title="设计" accesskey="p" rel="prev">上一篇</a>
      
    </div>
  

  <hr/>

  <div role="contentinfo">
    <p>
        &copy; Copyright 2019, OSDA Project members and individual contributors.
      Last updated on Oct 30, 2019.

    </p>
  </div>
  Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/unitedstack/sphinx_rtd_theme">theme</a> provided by <a href="https://github.com/unitedstack">UnitedStack</a>. 

</footer>

        </div>
      </div>

    </section>

  </div>
  


  

    <script type="text/javascript">
        var DOCUMENTATION_OPTIONS = {
            URL_ROOT:'./',
            VERSION:'3.5.0',
            LANGUAGE:'None',
            COLLAPSE_INDEX:false,
            FILE_SUFFIX:'.html',
            HAS_SOURCE:  true,
            SOURCELINK_SUFFIX: '.txt'
        };
    </script>
      <script type="text/javascript" src="_static/jquery.js"></script>
      <script type="text/javascript" src="_static/underscore.js"></script>
      <script type="text/javascript" src="_static/doctools.js"></script>
      <script type="text/javascript" src="_static/language_data.js"></script>

  

  
  
    <script type="text/javascript" src="_static/js/theme.js"></script>
  

  <script type="text/javascript">
      jQuery(function () {
          SphinxRtdTheme.Navigation.enable(true);
      });
  </script> 

</body>
</html>